﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<%@ Register src="ascx/Title.ascx" tagname="Title" tagprefix="uc1" %>
<%@ Register Src="~/ascx/footer.ascx" TagPrefix="uc1" TagName="footer" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>

<body style="background-image: url('img/59b2b789f290954f58c0df5952b72eda.jpg'); margin:0;">
    <form id="form1" runat="server">
    <div>
    
        <uc1:Title ID="Title1" runat="server" />
    </div>
    <div>
        <div style="position:absolute;left:542px;float:left; top: 300px; width: 300px;">
            <asp:Label ID="Label2" runat="server" Text="用户名： " Width="80px" ForeColor="White"></asp:Label>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        </div>
        <div  style="position:absolute;left:550px;float:left; top: 330px; width: 400px;">
            <asp:Label ID="Label3" runat="server" Text="密码： " Width="80px" ForeColor="White"></asp:Label><asp:TextBox ID="TextBox2" runat="server" TextMode="Password"/>
            <br />
            <asp:Label ID="Label1" runat="server" ForeColor="White"/>
        </div>
        <div style="text-align:center;position:relative;top:200px;">
        <asp:Button ID="Button1" runat="server" Text="login"  style="margin-right:30px" 
                onclick="Button1_Click"></asp:Button>
        <asp:Button ID="Button2" runat="server" Text="Register" 
                onclick="Button2_Click"   />
    
        </div>
    </div>
    <uc1:footer runat="server" ID="footer" />
    </form>
</body>
</html>
<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户登录</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Label ID="Label2" runat="server" Text="用户名： " Width="80px"/> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <br/>
    <asp:Label ID="Label3" runat="server" Text="密码： " Width="80px"></asp:Label><asp:TextBox ID="TextBox2" runat="server" TextMode="Password"/>
    <asp:Label ID="Label1" runat="server" Text=""/>
    <hr/>
    <asp:Button ID="Button1" runat="server" Text="login" onclick="Button1_Click"></asp:Button>
        &nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" Text="Register" 
            onclick="Button2_Click" />
    </div>
    </form>
</body>
</html>
--%>